<template>
    <div>
        <el-form ref="chos" :model="chos" class="hom_box">
            <h3 class="hom_title">请选择登录类型</h3>
            <el-row type="flex" class="row-bg" justify="center">
            <el-button type="primary" @click="Totour" round>用户登陆</el-button>
            <el-button type="success" @click="Toadm" round>后台登陆</el-button>
            </el-row>
           
        </el-form>
    </div>
</template>

<script>
export default {
    name:"Homepage",
    methods:{
        Totour(){
            this.$router.push("/Login");
        },
        Toadm(){
            this.$router.push("/Backstage");
        }
    }
}
</script>

<style>
.hom_box{
    width: 300pt;
    margin: 150px auto;
    border: 1px solid #DCDFE6;
    padding:40px;
    border-radius: 5px;
    box-shadow: 0 0 30px #DCDFE6;
}
.hom_title{
    text-align:center;
}


</style>